﻿<Window x:Class="JVMTI_CORE_SHELL.Settings"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Settings" Width="500" ResizeMode="NoResize" SizeToContent="Height" WindowStartupLocation="CenterOwner" AllowsTransparency="True" WindowStyle="None" Background="{x:Null}">
    	<Window.Resources>
		<Storyboard x:Key="show">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="border">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="border">
				<EasingDoubleKeyFrame KeyTime="0" Value="100"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="OnUnloaded1">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="stackPanel">
				<EasingDoubleKeyFrame KeyTime="0" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="stackPanel">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="100">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Window.Resources>
	<Window.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard Storyboard="{StaticResource show}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="FrameworkElement.Unloaded">
			<BeginStoryboard x:Name="OnUnloaded1_BeginStoryboard" Storyboard="{StaticResource OnUnloaded1}"/>
		</EventTrigger>
	</Window.Triggers>
	<Border x:Name="border" BorderThickness="1" BorderBrush="{DynamicResource AccentBrush}" RenderTransformOrigin="0.5,0.5" Width="500">
		<Border.RenderTransform>
			<TransformGroup>
				<ScaleTransform/>
				<SkewTransform/>
				<RotateTransform/>
				<TranslateTransform/>
			</TransformGroup>
		</Border.RenderTransform>
		<StackPanel x:Name="stackPanel" Background="White" RenderTransformOrigin="0.5,0.5">
			<StackPanel.RenderTransform>
				<TransformGroup>
					<ScaleTransform/>
					<SkewTransform/>
					<RotateTransform/>
					<TranslateTransform/>
				</TransformGroup>
			</StackPanel.RenderTransform>
			<Button Click="WindowCloseButton_Click" ToolTip="Add this path as an xml file" x:Name="CloseButton"   Style="{DynamicResource ButtonStyle1}" Margin="30,25,21,0" BorderThickness="2" HorizontalAlignment="Left" Width="29" Height="29" VerticalAlignment="Top">
				<Grid Height="17.408" Width="17.407">
					<Path HorizontalAlignment="Left" StrokeThickness="0" VerticalAlignment="Top" Width="8.5" Data="M4.25,0 L8.5,4.6660004 5.6290002,4.6660004 5.6290002,13.083 3.333,13.083 3.333,4.6660004 0,4.6660004 z" Height="13.083" Margin="0.037,6.788,0,-2.463" RenderTransformOrigin="0.500000001829604,0.178323012103346" Stretch="Fill">
						<Path.RenderTransform>
							<TransformGroup>
								<ScaleTransform/>
								<SkewTransform/>
								<RotateTransform Angle="-90"/>
								<TranslateTransform/>
							</TransformGroup>
						</Path.RenderTransform>
					</Path>
				</Grid>
			</Button>

			<TextBlock HorizontalAlignment="Left" Margin="30,10,0,0" TextWrapping="Wrap" Text="preferences" VerticalAlignment="Top" Foreground="{DynamicResource AccentBrush}" FontSize="26.667" FontFamily="/JVMTI-CORE-SHELL;component/Fonts/#Segoe UI Light"/>
			<TextBlock TextWrapping="Wrap" HorizontalAlignment="Left" Margin="30,10,0,0" Style="{DynamicResource ShineTextBlock}" VerticalAlignment="Top" Width="438" Foreground="Black" Text="specify the accent color, update options, source file search path and more."/>
			<TextBlock x:Name="slicingInfo" HorizontalAlignment="Left" Height="17" Margin="30,15,0,0" TextWrapping="Wrap" Text="APPEARANCE" VerticalAlignment="Top" Width="438" Foreground="Gray"/>
			<StackPanel Margin="32,15,40,0">
				<Grid x:Name="accent" Height="30">
					<Grid Height="30" Margin="0">
						<Grid.Background>
							<SolidColorBrush Color="{DynamicResource Accent}"/>
						</Grid.Background>
						<TextBlock HorizontalAlignment="Left" Margin="10,0,0,0" TextWrapping="Wrap" Text="Accent" VerticalAlignment="Center" Foreground="White"/>
					</Grid>
				</Grid>
				<Grid x:Name="accent_Copy" Height="30" Margin="0" Background="Black">
					<Grid Height="30" Margin="0">
						<Grid.Background>
							<SolidColorBrush Color="Red"/>
						</Grid.Background>
						<TextBlock HorizontalAlignment="Left" Margin="10,0,0,0" TextWrapping="Wrap" Text="Search Highlighting" VerticalAlignment="Center" Foreground="White"/>
					</Grid>
				</Grid>
				<Grid Height="30" Margin="0">
					<Grid.Background>
						<SolidColorBrush Color="{DynamicResource DeeperAccent}"/>
					</Grid.Background>
					<TextBlock HorizontalAlignment="Left" Margin="10,0,0,0" TextWrapping="Wrap" Text="Contention Collapsed" VerticalAlignment="Center" Foreground="White"/>
				</Grid>
			</StackPanel>
			<TextBlock HorizontalAlignment="Left" Height="17" Margin="30,15,0,0" TextWrapping="Wrap" Text="FUNCTIONS" VerticalAlignment="Top" Width="256.653" Foreground="Gray"/>
			<StackPanel Margin="32,15,40,0">
				<DockPanel Height="30">
					<Grid Height="30" Margin="0" Width="80" HorizontalAlignment="Left">
						<Grid.Background>
							<SolidColorBrush Color="{DynamicResource Accent}"/>
						</Grid.Background>
						<TextBlock HorizontalAlignment="Left" Margin="10,0,0,0" TextWrapping="Wrap" Text="Search Path" VerticalAlignment="Center" Foreground="White"/>
					</Grid>
					<Grid Height="30" Margin="0">
						<Grid.Background>
							<SolidColorBrush Color="#FFE2E2E2"/>
						</Grid.Background>
						<TextBox Text="{Binding SearchPath,Mode=TwoWay}" VerticalContentAlignment="Center" TextWrapping="Wrap" Foreground="Black" Background="#FFE2E2E2" Margin="0"/>
					</Grid>
				</DockPanel>
				<DockPanel Height="30" Margin="0">
					<Grid Height="30" Margin="0" Width="80" HorizontalAlignment="Left">
						<Grid.Background>
							<SolidColorBrush Color="{DynamicResource Accent}"/>
						</Grid.Background>
						<TextBlock HorizontalAlignment="Left" Margin="10,0,0,0" TextWrapping="Wrap" Text="Update URL" VerticalAlignment="Center" Foreground="White"/>
					</Grid>
					<Grid Height="30" Margin="0" Background="#FFE2E2E2">
						<TextBox IsEnabled="False" VerticalContentAlignment="Center" TextWrapping="Wrap" Foreground="Black" Background="#FFE2E2E2" Margin="0" Text="https://lens.intelliSys.com/ClickOnce.aspx" TextAlignment="Center"/>
					</Grid>
				</DockPanel>
			</StackPanel>
			<TextBlock HorizontalAlignment="Left" Height="17" Margin="30,15,0,0" TextWrapping="Wrap" Text="ABOUT" VerticalAlignment="Top" Width="256.653" Foreground="Gray"/>
			<StackPanel Margin="30,15,30,10" Orientation="Horizontal">
				<Grid Width="80" Background="{DynamicResource AccentBrush}">
					<Image x:Name="image" Source="Resources/logo.png" Stretch="Fill" Height="47" VerticalAlignment="Center" HorizontalAlignment="Center" Width="47"/>
				</Grid>
				<TextBox IsHitTestVisible="False" TextWrapping="Wrap" Foreground="Black" Width="356.17" TextAlignment="Justify" Margin="0" Background="#FFE2E2E2" Text="intelliSys LENS is developed for Software Engineering Course in Fall 2014. For issue tracking, bug reporting and suggestions, refer to the site by clicking &quot;visit site&quot;."/>
			</StackPanel>
			<StackPanel Height="25.5" Orientation="Horizontal" Margin="30,10,30,0">
				<Button Click="contact_Click" x:Name="apply1" Content="contact" HorizontalAlignment="Left" Height="25.5" VerticalAlignment="Top" Width="70" Style="{DynamicResource ButtonStyle2}"/>
				<Button Click="contact_Click" x:Name="apply1_Copy" Content="visit site" HorizontalAlignment="Left" Height="25.5" VerticalAlignment="Top" Width="70" Style="{DynamicResource ButtonStyle2}" Margin="10,0,0,0"/>
			</StackPanel>
			<StackPanel Margin="30,15,30,10" Orientation="Horizontal">
				<Button Click="apply_Click" x:Name="apply" Content="apply" HorizontalAlignment="Left" Height="25.5" VerticalAlignment="Top" Width="70" Style="{DynamicResource ButtonStyle2}"/>
			</StackPanel>
		</StackPanel>
	</Border>
</Window>
